package io.github.rascaler.dcenter.ws.message;

public enum MessageTypeEnum {
    PUBLISH(3, "发布"),
    SUBSCRIBE(8, "订阅"),
    UNSUBSCRIBE(10, "取消订阅"),
;


    private Integer value;
    private String desc;

    MessageTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return this.value;
    }

    public String getDesc() {
        return this.desc;
    }

}